Rtcl\Models\Payment C

Total Complexity 125
Dependencies 8
Dependents 9
Total lines 822
Lines of code 427
Logical lines of code 178
Comment lines 230
Methods 74
Properties 7

Methods 74

Method Rating Maintainability Complexity Lines of code
add_note()
A
45 7 41
payment_complete()
S
53 6 25
status_transition()
S
61 5 11
get_details()
S
48 3 36
update_status()
S
58 3 16
set_currency()
S
68 4 6
set_status()
S
61 3 12
get_cancel_endpoint()
S
64 3 10
has_status()
S
77 3 3
get_payment_method_title()
S
70 3 5
set_billing_email()
S
69 3 6
get_meta()
S
68 3 7
get_cancel_payment_url_raw()
S
59 1 16
is_applied()
S
79 2 3
get_wc_id()
S
68 2 7
exists()
S
79 2 3
get_maybe_order_number()
S
79 2 3
get_currency()
S
75 2 4
get_prop()
S
70 2 6
delete_meta()
S
71 2 6
get_maybe_id()
S
78 2 3
needs_payment()
S
67 2 7
get_status()
S
69 2 7
set_order_key()
S
72 2 5
set_address_prop()
S
69 2 6
set_prop()
S
70 2 6
get_pricing_id()
S
72 2 6
get_payment_method()
S
72 2 6
update_meta()
S
71 2 6
get_address_prop()
S
67 2 7
set_billing_phone()
S
79 1 3
set_billing_first_name()
S
79 1 3
set_billing_last_name()
S
79 1 3
set_billing_company()
S
79 1 3
set_billing_address_1()
S
79 1 3
set_billing_address_2()
S
79 1 3
get_billing_phone()
S
79 1 3
set_billing_city()
S
79 1 3
set_billing_state()
S
79 1 3
set_billing_postcode()
S
79 1 3
set_transaction_id()
S
80 1 3
get_total()
S
80 1 3
set_total()
S
79 1 3
get_listing_title()
S
80 1 3
set_billing_country()
S
79 1 3
__construct()
S
77 1 4
get_billing_email()
S
79 1 3
get_listing_id()
S
80 1 3
setData()
S
67 1 8
setGateWay()
S
80 1 3
is_membership()
S
78 1 3
set_applied()
S
80 1 3
get_customer_ip_address()
S
80 1 3
get_transaction_id()
S
80 1 3
get_date_paid()
S
80 1 3
get_created_date()
S
82 1 3
set_date_paid()
S
80 1 3
get_id()
S
82 1 3
get_order_key()
S
80 1 3
get_customer_id()
S
80 1 3
get_billing_country()
S
79 1 3
get_edit_order_url()
S
77 1 3
get_order_number()
S
78 1 3
get_customer_email()
S
73 1 5
get_customer_full_name()
S
71 1 5
get_billing_full_name()
S
77 1 3
get_billing_first_name()
S
79 1 3
get_billing_company()
S
79 1 3
get_billing_address_1()
S
79 1 3
get_billing_address_2()
S
79 1 3
get_billing_city()
S
79 1 3
get_billing_state()
S
79 1 3
get_billing_postcode()
S
79 1 3
get_billing_last_name()
S
79 1 3